package com.pcbly.web.bean.workflow;
   
import java.util.Set;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.pcbly.web.bean.formattemplate.FormatDocBean;


/** @author Hibernate CodeGenerator */
@SuppressWarnings("unchecked")
public class WorkflowItemBean extends WorkflowBean  {

    /**
	 * 
	 */
	private static final long serialVersionUID = -7183046772850987791L;

	
    private Integer status;

    
    private String templateId;

    
    private FormatDocBean document;

   
    private Set workflowTasks;

   
    private Set attachments; 

    /** default constructor */
    public WorkflowItemBean() {
    }
 

    public Integer getStatus() {
        return this.status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getTemplateId() {
        return this.templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }

    public FormatDocBean getDocument() {
        return this.document;
    }

    public void setDocument(FormatDocBean document) {
        this.document = document;
    }

    public Set getWorkflowTasks() {
        return this.workflowTasks;
    }

    public void setWorkflowTasks(Set workflowTasks) {
        this.workflowTasks = workflowTasks;
    }

    public Set getAttachments() {
        return this.attachments;
    }

    public void setAttachments(Set attachments) {
        this.attachments = attachments;
    }

    /**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		return EqualsBuilder.reflectionEquals(this, object);
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

}
